package org.jivesoftware.smack.packet;

public class StreamError
{
  private String code;

  public StreamError(String paramString)
  {
    this.code = paramString;
  }

  public String getCode()
  {
    return this.code;
  }

  public String toString()
  {
    StringBuilder localStringBuilder = new StringBuilder();
    localStringBuilder.append("stream:error (").append(this.code).append(")");
    return localStringBuilder.toString();
  }
}